f468d559d452a1ddf0212e36a99989f7a2dc577b,src/main/java/cubicchunks/worldgen/generator/custom/CustomTerrainGenerator.java,CustomTerrainGenerator,CustomTerrainGenerator,#ICubicWorld#number#,61
Before Change
IBuilder low = NoiseSource.perlin().
seed(rnd.nextLong()).
frequency(684.412D/Math.pow(2, OCTAVES)/(MAX_ELEV/64.0)).
octaves(OCTAVES).
create();
IBuilder high = NoiseSource.perlin().
seed(rnd.nextLong()).
frequency(684.412D/Math.pow(2, OCTAVES)/(MAX_ELEV/64.0)).
octaves(OCTAVES).
create();
int heightmapOctaves = 10;
double heightmapFreq = 200.0/Math.pow(2, heightmapOctaves)/(MAX_ELEV/64);
IBuilder randomHeight2d = NoiseSource.perlin().
seed(rnd.nextLong()).
frequency(heightmapFreq, 0, heightmapFreq).
octaves(heightmapOctaves).
create().
mulIf(NEGATIVE, -0.3).
mul(3).sub(2).
After Change
seed(rnd.nextLong()).
frequency(684.412D/Math.pow(2, OCTAVES)).
octaves(OCTAVES).
normalizeTo(-1, 1).
create().
mul(2).clamp(-1, 1);
IBuilder high = NoiseSource.perlin().
seed(rnd.nextLong()).
frequency(684.412D/Math.pow(2, OCTAVES)).
octaves(OCTAVES).
normalizeTo(-1, 1).
create().
mul(2).clamp(-1, 1);
int heightmapOctaves = 10;
double heightmapFreq = 200.0/Math.pow(2, heightmapOctaves);
IBuilder randomHeight2d = NoiseSource.perlin().
seed(rnd.nextLong()).
frequency(heightmapFreq, 0, heightmapFreq).
octaves(heightmapOctaves).
normalizeTo(-1, 1).
create().
mulIf(NEGATIVE, -0.3).
mul(3).sub(2).